#!/bin/bash
g++ -I/usr/local/lib64/R/include -L/usr/local/lib -I ~/ -I -DNDEBUG -I/usr/local/atlas/include -I/usr/local/include -lboost -lblas -latlas -llapack -fopenmp -larmadillo   -fpic  -g -O3  -c test/IBIS.cpp -o test/IBIS.o
g++ -shared -L/usr/local/lib64 -L ~/ -llapack -larmadillo -fopenmp -o test/IBIS.so test/IBIS.o

